package com.focusai.efairy.network;

/**
 * Created by heqingbao on 16/9/19.
 * 定义网络请求模块的一些能用错误码，方便定位问题
 */
public final class NetErrorCode {

    public static final int NET_ERROR = 1000;
    public static final int CONNECTION_ERROR = 1001;
    public static final int TIMEOUT_ERROR = 1002;
    public static final int PARSE_RESPONSE_ERROR = 1003;

    public static final int CERTIFICATE_ERROR = 1010;

    // 证书过期（可能是系统时间不在证书有效期范围内）
    public static final int CERTIFICATE_EXPIRE_ERROR = 1011;
}
